#ifndef RENDERTHREAD_H
#define RENDERTHREAD_H
#include <osgViewer/Viewer>
#include <QThread>

class RenderThread : public QThread
{
public:
	RenderThread(QObject *parent=0);
	~RenderThread();
	void setViewer(osgViewer::Viewer* view);

private:
	osgViewer::Viewer* _viewerPtr;

protected:
	virtual void run();
};

#endif // RENDERTHREAD_H
